"""
@author: xiangping
@contact: xiangpingbu@gmail.com
@time: 2020/1/7 4:56 下午
@file: gaolu_param_status_bo
@Desc: 高炉失分项结果状态BO
"""
from app.models.bo.base_bo import BaseBO
import collections

class GaoLuReasonStatusBO(BaseBO):
    CG_LT_GL_GL04_LFYL_status = None
    CG_LT_GL_GL04_LFLL_status = None
    CG_LT_GL_GL04_RFYL02_status = None
    CG_LT_GL_GL04_RFWD_status = None
    CG_LT_GL_GL04_LDYL_status = None
    CG_LT_GL_GL04_FSBZ_status = None
    CG_LT_GL_GL04_FSSJ_status = None
    CG_LT_GL_GL04_GFDNKG_status = None
    CG_LT_GL_GL04_FYLL_status = None
    CG_LT_GL_GL04_JSWD_status = None
    CG_LT_GL_GL04_LDWD01_status = None
    CG_LT_GL_GL04_LDWD02_status = None
    CG_LT_GL_GL04_LDWD03_status = None
    CG_LT_GL_GL04_LDWD04_status = None
    CG_LT_GL_GL04_FZWD_status = None
    CG_LT_GL_GL04_GLRSZLL_status = None
    CG_LT_GL_GL04_COZXFX_status = None
    CG_LT_GL_GL04_CO2ZXFX_status = None
    CG_LT_GL_GL04_N2ZXZF_status = None
    CG_LT_GL_GL04_H2ZXZF_status = None
    CG_LT_GL_GL04_SBYC01_status = None
    CG_LT_GL_GL04_SBYC02_status = None
    CG_LT_GL_GL04_SBYC03_status = None
    CG_LT_GL_GL04_SBYC04_status = None
    CG_LT_GL_GL04_XBYC01_status = None
    CG_LT_GL_GL04_XBYC02_status = None
    CG_LT_GL_GL04_XBYC03_status = None
    CG_LT_GL_GL04_XBYC04_status = None
    CG_LT_GL_GL04_TQXZS_status = None
    CG_LT_GL_GL04_RFH_status = None
    CG_LT_GL_GL04_ZXQL_status = None
    CG_LT_GL_GL04_SBYCZB_status = None
    CG_LT_GL_GL04_ZBYCZB_status = None
    CG_LT_GL_GL04_XBYCZB_status = None
    CG_LT_GL_GL04_DW_status = None
    CG_LT_GL_GL04_XBYC_status = None
    CG_LT_GL_GL04_SBYC_status = None
    CG_LT_GL_GL04_FCokeRate_status = None
    CG_LT_GL_GL04_FCoalRate_status = None
    CG_LT_GL_GL04_RLB_status = None
    CG_LT_GL_GL04_YC_status = None
    CG_LT_GL_GL04_Ftswd_status = None
    CG_LT_GL_GL04_FLiLunTie_status = None
    CG_LT_GL_GL04_V_status = None
    CG_LT_GL_GL04_Si_Ti_status = None
    CG_LT_GL_GL04_MQLYL_status = None

    member_mapping_dict = collections.OrderedDict({
        "CG_LT_GL_GL04_TQXZS_status": "透气性指数",
        "CG_LT_GL_GL04_FZWD_status": "阀座温度",
        "CG_LT_GL_GL04_LFLL_status": "冷风流量",
        "CG_LT_GL_GL04_FYLL_status": "富氧流量",
        "CG_LT_GL_GL04_FCokeRate_status": "焦比",
        "CG_LT_GL_GL04_FCoalRate_status": "煤比",
        "CG_LT_GL_GL04_RFWD_status": "热风温度",
        "CG_LT_GL_GL04_SBYCZB_status": "上部压差占比",
        "CG_LT_GL_GL04_XBYCZB_status": "下部压差占比",
        "CG_LT_GL_GL04_LFYL_status": "冷风压力",
        "CG_LT_GL_GL04_RFYL02_status": "热风压力02",
        "CG_LT_GL_GL04_LDYL_status": "炉顶压力",
        "CG_LT_GL_GL04_FSBZ_status": "标准风速",
        "CG_LT_GL_GL04_FSSJ_status": "实际风速",
        "CG_LT_GL_GL04_GFDNKG_status": " 鼓风动能KG",
        "CG_LT_GL_GL04_JSWD_status": "进水温度",
        "CG_LT_GL_GL04_LDWD01_status": "1#炉顶温度",
        "CG_LT_GL_GL04_LDWD02_status": "2#炉顶温度",
        "CG_LT_GL_GL04_LDWD03_status": "3#炉顶温度",
        "CG_LT_GL_GL04_LDWD04_status": "4#炉顶温度",
        "CG_LT_GL_GL04_GLRSZLL_status": "高炉软水总流量",
        "CG_LT_GL_GL04_COZXFX_status": "煤气在线分析",
        "CG_LT_GL_GL04_CO2ZXFX_status": "CO2在线分析",
        "CG_LT_GL_GL04_N2ZXZF_status": "N2在线分析",
        "CG_LT_GL_GL04_H2ZXZF_status": "H2在线分析",
        "CG_LT_GL_GL04_SBYC01_status": "1#上部压差",
        "CG_LT_GL_GL04_SBYC02_status": "2#上部压差",
        "CG_LT_GL_GL04_SBYC03_status": "3#上部压差",
        "CG_LT_GL_GL04_SBYC04_status": "4#上部压差",
        "CG_LT_GL_GL04_XBYC01_status": "1#下部压差",
        "CG_LT_GL_GL04_XBYC02_status": "2#下部压差",
        "CG_LT_GL_GL04_XBYC03_status": "3#下部压差",
        "CG_LT_GL_GL04_XBYC04_status": "4#下部压差",
        "CG_LT_GL_GL04_RFH_status": "热负荷",
        "CG_LT_GL_GL04_ZXQL_status": "T阀座温度/T顶温",
        "CG_LT_GL_GL04_ZBYCZB_status": "中部压差占比",
        "CG_LT_GL_GL04_DW_status": "炉顶温度",
        "CG_LT_GL_GL04_XBYC_status": "下部压差",
        "CG_LT_GL_GL04_SBYC_status": "上部压差",
        "CG_LT_GL_GL04_Ftswd_status": "铁水温度",
        "CG_LT_GL_GL04_V_status": "V",
        "CG_LT_GL_GL04_YC_status": "压差",
        "CG_LT_GL_GL04_Si_Ti_status": "Si+Ti",
        "CG_LT_GL_GL04_RLB_status": "燃料比",
        "CG_LT_GL_GL04_FLiLunTie_status": "理论铁",
        "CG_LT_GL_GL04_MQLYL_status": "煤气利用率"
    })

    @classmethod
    def exposed_param_list(cls):
        exclude_list = ['expose_param_list',
                        'CG_LT_GL_GL04_FLiLunTie_status',
                        'CG_LT_GL_GL04_RLB_status',
                        'CG_LT_GL_GL04_Si_Ti_status',
                        'CG_LT_GL_GL04_MQLYL_status']

        return [i for i in cls.member_mapping_dict.keys()
                if i[:1] != '_' and i not in exclude_list]

    @classmethod
    def exposed_param_dict(cls):
        exclude_list = ['expose_param_list',
                        'CG_LT_GL_GL04_FLiLunTie_status',
                        'CG_LT_GL_GL04_RLB_status',
                        'CG_LT_GL_GL04_Si_Ti_status',
                        'CG_LT_GL_GL04_MQLYL_status']

        return {k:v for k,v in cls.member_mapping_dict.items()
                if k[:1] != '_' and k not in exclude_list}

